package com.gitee.linmt.enums;

import com.gitee.linmt.base.BaseServiceDictionaryEnum;

/**
 * 账号状态
 *
 * @author <a href="mailto:lin-mt@outlook.com">lin-mt</a>
 */
public enum AccountState implements BaseServiceDictionaryEnum {
    
    /**
     * 描述账号状态
     */
    NORMAL("0101", "正常", "账号正常"),
    LOCKING("0102", "锁定", "账号已被锁定");
    
    private final String code;
    
    private final String value;
    
    private final String description;
    
    AccountState(String code, String value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }
    
    @Override
    public String getCode() {
        return code;
    }
    
    @Override
    public String getValue() {
        return value;
    }
    
    @Override
    public String getDescription() {
        return description;
    }
}
